package com.atnjupt.threadlocal;

/**
 * @author Wizarder
 * @create 2021-06-15 18:03
 */
public class OrderDao {
    public void saveOrder(){
        String name = Thread.currentThread().getName();
        System.out.println("OrderDao中线程[" + name + "]获取的数据为：" + ThreadLocalTest.data.get(name));
    }
}
